const Staff = () => import('@/views/Staff/index.vue')
const StaffStaff = () => import('@/views/Staff/Staff/index.vue')
const StaffSubmitted = () => import('@/views/Staff/Submitted/index.vue')
const StaffManHour = () => import('@/views/Staff/ManHour/index.vue')

const routes = [
  {
    path: '/staff',
    name: 'staff',
    component: Staff,
    meta: { title: '员工管理', icon: 'User', orderNo: 20 },
    children: [
      {
        path: 'staff',
        name: 'staffStaff',
        component: StaffStaff,
        meta: { title: '员工管理' }
      },
      {
        path: 'submitted',
        name: 'staffSubmitted',
        component: StaffSubmitted,
        meta: { title: '员工呈报' }
      },
      {
        path: 'manHour',
        name: 'staffManHour',
        component: StaffManHour,
        meta: { title: '员工工时' }
      }
    ]
  }
]

export default [] || routes
